.edit-document-page .page-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 25px;
    }
    .edit-document-page .page-header h1 {
      margin: 0;
      font-size: 1.8em;
      color: #34495e;
    }
    .edit-document-page .page-header button i {
      margin-right: 5px;
    }

    .success-message {
      background-color: #d4edda;
      color: #155724;
      padding: 15px;
      border-radius: 6px;
      margin-bottom: 20px;
      display: flex;
      align-items: center;
    }
    .success-message i {
      margin-right: 10px;
      font-size: 1.2em;
    }

    .edit-form {
      background-color: #fff;
      padding: 25px;
      border-radius: 8px;
      box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    }

    .form-group {
      margin-bottom: 20px;
    }

    .form-group label {
      display: block;
      margin-bottom: 8px;
      font-weight: 600;
      color: #333;
    }

    .form-control {
      width: 100%;
      padding: 12px;
      border: 1px solid #ccc;
      border-radius: 4px;
      box-sizing: border-box;
      font-size: 1rem;
    }
    .form-control:focus {
      outline: none;
      border-color: #007bff;
      box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
    }

    .static-field {
      padding: 12px;
      background-color: #f8f9fa;
      border: 1px solid #e9ecef;
      border-radius: 4px;
      color: #495057;
    }

    .form-divider {
      height: 1px;
      background-color: #e9ecef;
      margin: 25px 0;
    }

    .file-upload-container {
      position: relative;
      margin-bottom: 10px;
    }

    .file-input {
      position: absolute;
      width: 0.1px;
      height: 0.1px;
      opacity: 0;
      overflow: hidden;
      z-index: -1;
    }

    .file-upload-label {
      display: inline-block;
      padding: 10px 15px;
      background-color: #007bff;
      color: white;
      border-radius: 4px;
      cursor: pointer;
      transition: background-color 0.2s;
    }
    .file-upload-label:hover {
      background-color: #0056b3;
    }
    .file-upload-label i {
      margin-right: 8px;
    }

    .file-name {
      margin-left: 15px;
      font-size: 0.9em;
      color: #6c757d;
    }

    .upload-options {
      display: flex;
      gap: 25px;
      padding: 15px;
      background-color: #f0f4f8;
      border-radius: 6px;
      margin-bottom: 20px;
    }

    .option-item {
      display: flex;
      align-items: center;
    }

    .option-item input[type="checkbox"] {
      margin-right: 10px;
      width: 18px;
      height: 18px;
      cursor: pointer;
      accent-color: #007bff;
    }

    .option-item label {
      font-size: 0.95em;
      color: #2c3e50;
      cursor: pointer;
      display: flex;
      align-items: center;
      gap: 6px;
      margin-bottom: 0;
    }
    .option-item label i {
      color: #007bff;
    }

    .upload-progress {
      margin-bottom: 20px;
      display: flex;
      align-items: center;
    }

    .progress-bar-container {
      flex-grow: 1;
      height: 10px;
      background-color: #e9ecef;
      border-radius: 5px;
      overflow: hidden;
      margin-right: 10px;
    }

    .progress-bar {
      height: 100%;
      background-color: #007bff;
      transition: width 0.3s ease;
    }

    .progress-text {
      font-size: 0.9em;
      color: #6c757d;
      width: 40px;
      text-align: right;
    }

    .form-actions {
      display: flex;
      gap: 15px;
      margin-top: 30px;
    }

    .primary-btn, .secondary-btn {
      padding: 12px 20px;
      border: none;
      border-radius: 4px;
      cursor: pointer;
      font-size: 1rem;
      display: inline-flex;
      align-items: center;
      transition: background-color 0.2s;
    }

    .primary-btn {
      background-color: #28a745;
      color: white;
    }
    .primary-btn:hover {
      background-color: #218838;
    }
    .primary-btn i {
      margin-right: 8px;
    }

    .secondary-btn {
      background-color: #6c757d;
      color: white;
    }
    .secondary-btn:hover {
      background-color: #5a6268;
    }

    .primary-btn:disabled, .secondary-btn:disabled {
      background-color: #aaa;
      cursor: not-allowed;
    }

    .status-badge {
      display: inline-block;
      padding: 3px 8px;
      border-radius: 12px;
      font-size: 0.8em;
      font-weight: 500;
      text-transform: uppercase;
    }
    .status-published {
      background-color: #d4edda;
      color: #155724;
    }
    .status-draft {
      background-color: #fff3cd;
      color: #856404;
    }
